serve a purpose

Translations
servir à quelque chose
Definitions
To have a specific function or role that contributes to a goal or objective.